package cn.darkhorse.device.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 审核意见表
 * </p>
 *
 * @author maoguanjun
 * @since 2024-05-06
 */
@Getter
@Setter
  @TableName("mes_repair_approval_history")
@ApiModel(value = "MesRepairApprovalHistory对象", description = "审核意见表")
public class MesRepairApprovalHistory implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("维修单id")
      private Long repairId;

      @ApiModelProperty("审核结果 0：待审核1：立即维修2:驳回")
      private Integer approvalResult;

      @ApiModelProperty("处理意见")
      private String approvalOpinion;

      @ApiModelProperty("审核人")
      private Long approvalPerson;

      @ApiModelProperty("审核时间")
      private LocalDateTime approvalTime;

      @ApiModelProperty("创建时间")
      private LocalDateTime gmtCteate;


}
